package com.vvkee.customer;

/**
 * 事件广播接口
 */
public interface VvkeeApplicationEventMulticaster {

    /**
     * 往广播器中添加listener
     *
     * @param listener
     */
    void addApplicationListener(VvkeeApplicationListener<?> listener);

    /**
     * 广播事件
     *
     * @param vvkeeApplicationEvent
     */
    void multicastEvent(VvkeeApplicationEvent vvkeeApplicationEvent);
}
